home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8741 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  826 b 

  1. Path: lantana.singnet.com.sg!usenet
  2. From: kim hai <Kim_Hai.Ng@msmail.st.stems.com>
  3. Newsgroups: comp.lang.c
  4. Subject: HELP on string functions ????
  5. Date: Wed, 06 Mar 1996 11:41:39 -0800
  6. Organization: stems
  7. Message-ID: <313DEA73.7505@msmail.st.stems.com>
  8. NNTP-Posting-Host: ts900-3814.singnet.com.sg
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win16; I)
  13.  
  14. Please help me.
  15.  
  16. Can anybody tell me if there is similar function in place of "strset()" ?
  17. Or is there another way of doing this :
  18. I need to reinitialize a char pointer during run-time. The statement 
  19. char *p; p = ""; is causing me problems. I can't use "strset(p,'\0')" 
  20. because the compiler on the unix machine doesn't recognise the function.
  21.  
  22. Thankx.
  23.  
  24.  
  25. <hai>
  26. e-mail : Kim_Hai.Ng@msmail.st.stems.com
  27.